package day07;

public class OverLoadDemo {
    public static void main(String[] args) {
        show("zhangsan");
        show(10);
        show();
        show(16,"zhnagsan");
        show("zhangsan,11");
    }

    public static void show(){}
    public static void show(String name){}
    public static void show(int age){}
    public static void show(String name,int age){}
    public static void show(int age,String name){}

//    public static void show(){return1;}编译错误，重载与返回值类型无关
//    public static void show(String address){}编译错误，重载与参数名词无关
}
